<?php
/**
 * Created by IntelliJ IDEA.
 * User: jimmyhsu
 * Date: 2017/4/24
 * Time: 19:50
 */
include ('checkLogin.php');
$course_id = $_GET['course_id'];
$b_id = $_GET['b_id'];
$sql = "delete from bulletin where course_id='$course_id' and b_id=$b_id";
if (mysqli_query($cn, $sql)) {
    echo "success";
} else {
    echo "数据库异常";
}
